<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>阿波斯</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no"/>
	<meta name="format-detection" content="email=no" />
	<meta name="W_design" content="750" />
    <script src="js/flexible_v2.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/style2.css">
    <link rel="stylesheet" type="text/css" href="css/animate.min.css"/>
	
	</head>
	<body>
		
		<!--setp1 index-->
		<div class="step1">
			<audio src="img/music.mp3" id="bg-music" preload="auto" loop="loop" style="display: none;"></audio>
			<div class="logo wow flipInX" data-wow-duration="3s">
				<img src="img2/logo.png"/>
			</div>
			
			<div class="ray wow flash infinite" data-wow-duration="3s">
				<img src="img2/ray.png"/>
			</div>
			

			<div class="title wow slideInDown" data-wow-duration="2s" data-wow-delay="0s">
				<img class="wow bounceIn" src="img2/han.png" data-wow-duration="5s"/>
			</div>
			
			<div class="start1">
				<img src="img/start1.png" alt="" />
			</div>
			
			<div class="start wow fadeInUpBig">
				<img class="wow pulse infinite" src="img2/enter.png" />
			</div>
			
		</div>
		
		
		<!--setp2 -->
		<div class="step2" style="display:none ;">
			<video id="MainVideo" preload="auto" width="100%">
                <source src="http://oss.meng.wop100.cn/vv/img/vv.mp4" type="video/mp4"/>
                Your browser does not support HTML5 video.
            </video>
		</div>
		
	
		<script src="js/jquery-2.1.0.min.js"></script>
		<script src="js/wow.js"></script>
		<script type="text/javascript">
			//music
			var ua = window.navigator.userAgent.toLowerCase();
			var audio = document.getElementById('bg-music');
			document.addEventListener('DOMContentLoaded', function () {
				function audioAutoPlay() {
					
					if(audio) {
						audio.play();
						if (ua.match(/MicroMessenger/ig) == 'micromessenger') {
							document.addEventListener("WeixinJSBridgeReady", function () {
								audio.play();
							}, false);
						}
					}
				}
				audioAutoPlay();
			});
						
			
			//init wow
			new WOW().init();
			
			
			//video
			oVideo = document.getElementById("MainVideo");
			
			$(".start").click(function(){
				$(".step1").hide();
				$(".step2").show();
				oVideo.play();
				audio.pause();
			})
			
		</script>
			

	       
	</body>
</html>